<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <!--引入公共头部-->
        <jsp:include page="public/public-head.jsp"/>
    </head>
    <body>       
        <div style="width: 600px;margin: 15px auto">
            <jsp:include page="public/public-userinfo-state.jsp"/>
            <div class="ui blue submit button">所有板块：</div>
            <!--JSTL标签获取值并显示-->
            <c:forEach items="${brandList}" var="brand">
                <div class="ui floating message">
                    <p><a href="${appHost}/ContentListServlet?brandId=${brand.id}">${brand.name}</a>&nbsp;&nbsp;&nbsp;&nbsp${brand.introduce}</p>
                    <p></p>
                </div>
            </c:forEach>   
        </div>
    </body>
</html>
